package com.gzz.demo.pattern.strategy;

public class IntermediateStrategy implements IStrategy {
    @Override
    public double calcPrice(double price) {
        System.out.println("中级会员折扣10% price = " + (price *0.9));
        return price *0.9;
    }
}
